package com.letian.info.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.letian.common.annotation.Excel;
import com.letian.common.core.domain.BaseEntity;

/**
 * 视频信息对象 info_video
 * 
 * @author bmz
 * @date 2023-12-01
 */
public class InfoVideo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章ID */
    private Long videoId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 封面图（小） */
    @Excel(name = "封面图", readConverterExp = "小=")
    private String posterSmall;

    /** 封面图（大） */
    @Excel(name = "封面图", readConverterExp = "大=")
    private String posterBig;

    /** 封面图（PC） */
    @Excel(name = "封面图", readConverterExp = "P=C")
    private String posterPc;

    /** 资源名 */
    @Excel(name = "资源名")
    private String sourceName;

    /** 播放地址 */
    @Excel(name = "播放地址")
    private String playUrl;

    /** 时长 */
    @Excel(name = "时长")
    private Long duration;

    /** tag */
    @Excel(name = "tag")
    private String showTag;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishTime;

    /** 是否付费 */
    @Excel(name = "是否付费")
    private Integer isPayColumn;

    /** 喜欢的数量 */
    @Excel(name = "喜欢的数量")
    private Long likeCount;

    /** 评论的数量 */
    @Excel(name = "评论的数量")
    private Long commentCount;

    /** 播放数 */
    @Excel(name = "播放数")
    private Long playCount;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setVideoId(Long videoId) 
    {
        this.videoId = videoId;
    }

    public Long getVideoId() 
    {
        return videoId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPosterSmall(String posterSmall) 
    {
        this.posterSmall = posterSmall;
    }

    public String getPosterSmall() 
    {
        return posterSmall;
    }
    public void setPosterBig(String posterBig) 
    {
        this.posterBig = posterBig;
    }

    public String getPosterBig() 
    {
        return posterBig;
    }
    public void setPosterPc(String posterPc) 
    {
        this.posterPc = posterPc;
    }

    public String getPosterPc() 
    {
        return posterPc;
    }
    public void setSourceName(String sourceName) 
    {
        this.sourceName = sourceName;
    }

    public String getSourceName() 
    {
        return sourceName;
    }
    public void setPlayUrl(String playUrl) 
    {
        this.playUrl = playUrl;
    }

    public String getPlayUrl() 
    {
        return playUrl;
    }
    public void setDuration(Long duration) 
    {
        this.duration = duration;
    }

    public Long getDuration() 
    {
        return duration;
    }
    public void setShowTag(String showTag) 
    {
        this.showTag = showTag;
    }

    public String getShowTag() 
    {
        return showTag;
    }
    public void setPublishTime(Date publishTime) 
    {
        this.publishTime = publishTime;
    }

    public Date getPublishTime() 
    {
        return publishTime;
    }
    public void setIsPayColumn(Integer isPayColumn) 
    {
        this.isPayColumn = isPayColumn;
    }

    public Integer getIsPayColumn() 
    {
        return isPayColumn;
    }
    public void setLikeCount(Long likeCount) 
    {
        this.likeCount = likeCount;
    }

    public Long getLikeCount() 
    {
        return likeCount;
    }
    public void setCommentCount(Long commentCount) 
    {
        this.commentCount = commentCount;
    }

    public Long getCommentCount() 
    {
        return commentCount;
    }
    public void setPlayCount(Long playCount) 
    {
        this.playCount = playCount;
    }

    public Long getPlayCount() 
    {
        return playCount;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("videoId", getVideoId())
            .append("title", getTitle())
            .append("posterSmall", getPosterSmall())
            .append("posterBig", getPosterBig())
            .append("posterPc", getPosterPc())
            .append("sourceName", getSourceName())
            .append("playUrl", getPlayUrl())
            .append("duration", getDuration())
            .append("showTag", getShowTag())
            .append("publishTime", getPublishTime())
            .append("isPayColumn", getIsPayColumn())
            .append("likeCount", getLikeCount())
            .append("commentCount", getCommentCount())
            .append("playCount", getPlayCount())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
